
echo on

SET CWD=%CD%

SET WGET_INDEX_URL=http://www.opengl.org/sdk/docs/man4/xhtml/
SET WGET_OGL_DOC4_URL=man4/xhtml/

SET WGET_OPTS=--timestamping --recursive --level=4 --no-directories -A*.xml

wget.exe %WGET_OPTS% --include-directories=%WGET_OGL_DOC4_URL% -P%CWD%/../SpecsDocs %WGET_INDEX_URL%